//
//  HSYNewClerkRequest.m
//  HSY
//
//  Created by 陈浩 on 2017/4/10.
//  Copyright © 2017年 金开门. All rights reserved.
//

#import "HSYNewClerkRequest.h"

@implementation HSYNewClerkRequest

- (NSString *)serviceCode{
    return API_SERVICE_CODE_NEW_CLERK;
}

- (NSDictionary *)requestData{
    
    NSAssert(self.cellphone.length > 0, @"手机号不能为空");
    NSAssert(self.realname.length > 0, @"真实姓名不能为空");

    NSMutableDictionary *params = [@{} mutableCopy];
    params[@"cellphone"] = self.cellphone;
    params[@"realname"] = self.realname;
    params[@"role"] = @(self.role);
    params[@"parentID"] = @(self.parentID);
    params[@"sid"] = @(self.sid);

    return params;
}


@end
